package hos.map.distance;

/**
 * <p>Title: BearingDistanceCache </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2023-12-10 23:51
 */
public class BearingDistanceCache {
    private double lon1 = 0.0;
    private double lat1 = 0.0;
    private double lat2 = 0.0;
    private double lon2 = 0.0;
    private double distance = 0.0f;
    private float initialBearing = 0.0f;
    private float finalBearing = 0.0f;

    public BearingDistanceCache(double distance) {
        this.distance = distance;
    }

    public double getLat1() {
        return lat1;
    }

    public void setLat1(double lat1) {
        this.lat1 = lat1;
    }

    public double getLon1() {
        return lon1;
    }

    public void setLon1(double lon1) {
        this.lon1 = lon1;
    }

    public double getLat2() {
        return lat2;
    }

    public void setLat2(double lat2) {
        this.lat2 = lat2;
    }

    public double getLon2() {
        return lon2;
    }

    public void setLon2(double lon2) {
        this.lon2 = lon2;
    }

    public double getDistance() {
        return distance;
    }

    public void setDistance(double distance) {
        this.distance = distance;
    }

    public float getInitialBearing() {
        return initialBearing;
    }

    public void setInitialBearing(float initialBearing) {
        this.initialBearing = initialBearing;
    }

    public float getFinalBearing() {
        return finalBearing;
    }

    public void setFinalBearing(float finalBearing) {
        this.finalBearing = finalBearing;
    }
}
